|
![](/i/fill.gif) |
"pierre" <pie### [at] efpg inpg fr> schreef in bericht
news:web.44fd676f1c12001dad334ed60@news.povray.org...
> Hi everybody,
>
> I am a rookie in programation and especially in povray.
> I have converted 3D surface from matlab in .pov using poseray.
>
> I obtained several files:
> test_POV_main
> test_POV_mat
> test_POV_geom
>
> Then , I wanted to insert this surface into a specifcal environement. I've
> defined the camera, the texture, the source...
>
> But, how do I open those files created with poseray?
> I used #fopen and #read but It doesn't work, the software doesn't
> recognised
> my surface and asked for an Object.
>
>
It is fairly simple :-)
The test_POV_main file is a standalone scene file that you can use in
POV-Ray to see the object like you saw it in Poseray. The important files
are the _geom and the _mat files:
The _geom file contains the data describing your 3D surface
The _mat file contains a standard texture just to make the object visible.
You can change that later.
If you are not using the _main file:
- you must first include the two other files in your scene.
- Look at the end of the _geom file how Poseray has named the object
- now call the object in your scene: object {whatever}
Thomas
Post a reply to this message
|
![](/i/fill.gif) |